package com.lixingye.meowstar.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * <p>
 * 
 * </p>
 *
 * @author 猫大仙
 * @since 2025-01-14
 */
//@Getter
@Data
@TableName("t_board")
public class Board implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号,主键自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    public Long getId() {
        return id;
    }

    /**
     * 板块名
     */
    private String name;

    /**
     * 帖子数量
     */
    private Integer articleCount;

    /**
     * 排序优先级,升序
     */
    private Integer sort;

    /**
     * 状态 0正常,1禁用
     */
    private Byte state;

    /**
     * 是否删除 0否,1是
     */
    private Byte deleteState;

    /**
     * 创建时间,精确到秒
     */
    private LocalDateTime createTime;

    /**
     * 更新时间,精确到秒
     */
    private LocalDateTime updateTime;
}
